package net.oov.identify.support;

public class SingletonManager {
	
	private static Distribution d = null;
	
	public static void setDistribution(Distribution d){
		SingletonManager.d = d;
	}
	
	public static Distribution getDistribution(){
		if(d==null){
			throw new RuntimeException("对象未初始化");
		}
		return d;
	}
	
}
